<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$charset" />
<title>$navtitle $bbname $seotitle - Powered by Discuz!</title>
$seohead
<meta name="keywords" content="{$metakeywords}$seokeywords" />
<meta name="description" content="$metadescription $bbname $seodescription - Discuz! Board" />
<meta name="author" content="Mixfog.com" />
$rsshead
$extrahead
<style>
@import url(forumdata/cache/style_{STYLEID}_common.css?{VERHASH});
</style>
<script type="text/javascript">var STYLEID = '{STYLEID}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '$charset', discuz_uid = $discuz_uid, cookiedomain = '$cookiedomain', cookiepath = '$cookiepath', attackevasive = '$attackevasive', allowfloatwin = '$allowfloatwin', creditnotice = '{if $creditnotice}$creditnames{/if}', {if in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))}gid = parseInt('$thisgid'){elseif CURSCRIPT == 'index'}gid = parseInt('$gid'){else}gid = 0{/if}, fid = parseInt('$fid'), tid = parseInt('$tid')</script>
<script type="text/javascript" src="include/js/common.js?{VERHASH}"></script>
</head>

<style>
	#header { background: #333; height: 50px; line-height: 50px; }
	#header a { color: #DDD; }
		#header a:hover { color: #CCFF8F; }
	#header h2 { float: left; margin-right: 2em; }
		#header h2 img { margin-top: 15px; }
	#menu { float: left; }
		#menu li { float: left; margin-right: 2em; }
			#menu a { float: left; height: 42px; border-bottom: 8px solid #555; text-decoration: none; overflow: hidden; }
				#menu .current a { border-color: #FFF; color: #FFF; }
	#umenu {  float: right; color: #999; font-size: 12px; }
		#umenu .loginlink { padding: 0 8px; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -o-border-radius: 10px; background: #111; }
		#umenu .pipe { margin: 0 4px; color: #666; }
</style>
<body id="{CURSCRIPT}" onkeydown="if(event.keyCode==27) return false;">
	<div id="append_parent"></div><div id="ajaxwaitid"></div>
	<!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['headerbanner'])}--><div id="ad_headerbanner">$advlist[headerbanner]</div><!--{/if}-->
	<div id="header">
		<div class="wrap s_clear">
			<h2><a href="$indexname" title="$bbname">{BOARDLOGO}</a></h2>
			<div id="umenu" <!--{if $discuz_uid}-->class="login"<!--{/if}-->>
			<!--{if $discuz_uid}-->
				<p>
					<cite><a href="memcp.php" class="noborder" title="{lang user_center}">$discuz_userss</a></cite><!--{if $allowinvisible}--><span class="pipe">-</span><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--><!--{/if}-->
					<!--{if $ucappopen['UCHOME']}-->
						<span class="pipe">|</span><a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a>
					<!--{elseif $ucappopen['XSPACE']}-->
						<span class="pipe">|</span><a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a>
					<!--{/if}-->
					<span class="pipe">|</span><a href="pm.php" id="pm_ntc"<!--{if $newpm && $_DCOOKIE['pmnum']}--> onmouseover="pmviewnew()" class="new" title="{lang pm_new}"<!--{/if}--> target="_blank">{lang pm}<!--{if $newpm && $_DCOOKIE['pmnum']}--><span>($_DCOOKIE[pmnum])</span><!--{/if}--></a>
					<!--{if $taskon}-->
					<span class="pipe">|</span><a id="task_ntc" {if $doingtask}href="task.php?item=doing" class="new" title="{lang task_unfinish}"{else}href="task.php"{/if} target="_blank">{lang task}</a>
					<!--{/if}-->
					<span class="pipe">|</span><a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
				</p>
			<!--{elseif !empty($_DCOOKIE['loginuser'])}-->
				<cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite>
				<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">{lang activation}</a>
				<a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
			<!--{else}-->
				<a class="loginlink" href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">{lang login}</a>
				{lang login_guest}
			<!--{/if}-->
			</div>
			<div id="menu">
				<ul>
					<!--{loop $navs $id $nav}-->
						<!--{if $id == 3}-->
							<!--{if !empty($plugins['jsmenu'])}-->
								$nav[nav]
							<!--{/if}-->
							<!--{if !empty($plugins['links'])}-->
								<!--{loop $plugins['links'] $module}-->
									<!--{if !$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)}--><li>$module[url]</li><!--{/if}-->
								<!--{/loop}-->
							<!--{/if}-->
						<!--{else}-->
							<!--{if !$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)}-->$nav[nav]<!--{/if}-->
						<!--{/if}-->
					<!--{/loop}-->
					<!--{if in_array($BASEFILENAME, $navmns)}-->
						{eval $mnid = $BASEFILENAME;}
					<!--{elseif $navmngs[$BASEFILENAME]}-->
						<!--{loop $navmngs[$BASEFILENAME] $navmng}-->
							<!--{if $navmng[0] == array_intersect_assoc($navmng[0], $_GET)}-->{eval $mnid = $navmng[1];}<!--{/if}-->
						<!--{/loop}-->
					<!--{/if}-->
				</ul>
				<script type="text/javascript">
					var currentMenu = $('mn_$mnid') ? $('mn_$mnid') : $('mn_$navmns[0]');
					currentMenu.parentNode.className = 'current';
				</script>				
			</div>
		</div>
	</div>
